package com.gitee.feizns.wx.service;

import com.gitee.feizns.wx.domain.vo.WxVo;
import com.gitee.feizns.wx.domain.ao.JsApiTicketAo;
import com.gitee.feizns.wx.domain.vo.JsApiTicketVo;

/**
 * @author feizns
 * @since 2019/7/15
 */
public interface WeChatService {

    /**
     * 获取微信jsApi ticket
     * @param name
     * @param ao
     * @return
     */
    JsApiTicketVo getJsApiTicket(String name, JsApiTicketAo ao);

    /**
     * 根据名字获取信息
     * @param name
     * @return
     */
    WxVo getByName(String name);

}

